package com.example.evaluationserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class EvaluationVO implements Serializable {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="发送方用户名", example = "刘宇豪")
    private String postName;
    @ApiModelProperty(value="发送方头像", example = "url")
    private String postPhoto;
    @ApiModelProperty(value="商品标题", example = "1")
    private String goodsTitle;
    @ApiModelProperty(value="商品图片", example = "1")
    private String goodsPhoto;
    @ApiModelProperty(value="评级 1好评2中评3差评", example = "1")
    private int rating;
    @ApiModelProperty(value="内容", example = "真不错")
    private String context;
    @ApiModelProperty(value="创建时间")
    private Date time;
}
